import request from "@/utils/request";
// 1、顶部护学岗人员统计
export const total = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/total",
    method: "POST",
    data,
  });
};
// 2、到岗率预警学校统计
// 3、图文上报数量统计
export const imageTextData = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/imageTextData",
    method: "POST",
    data,
  });
};
// 4、到岗率合格数量
// 5、预警趋势对比

// 学校基础信息 http://120.211.58.75:50003/admin.school/index
export const index = (data) => {
  // console.log(data);
  return request({
    url: "/admin.school/index",
    method: "POST",
    data,
  });
};
